package io.geekidea.boot.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hwtx.form.domain.vo.UserRole;
import io.geekidea.boot.system.entity.SysOrgUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrgUserMapper extends BaseMapper<SysOrgUser> {

    List<UserRole> getOrgRolesByUserIds(List<Long> userIds);

    List<Long> getOrgRoleIdsByUserId(Long userId);
}
